Python for CFD: A case study
نویسنده
چکیده
In this paper we discuss the benefits obtained by the use of Python in our CFD computations. Our research involves the development and study of a high-resolution vortex method. We outline the various Python scripts that enabled us to do routine tasks, drive CPU intensive simulations from Python, schedule several hundreds of runs and interactively explore and analyze the data. We also show how SWIG, Pypar and SciPy’s Weave enabled the rapid and efficient implementation of an interesting parallel program.
منابع مشابه
Cassiopee: a CFD pre-and post-processing tool
This paper presents an overview of the capabilities of a new open-source preand post-processing tool for Computational Fluid Dynamics simulations, called Cassiopee. Its architecture, which is basically a set of Python modules, and the handled data, which is based on CGNS standard, are described. Some examples of workflows that can be built with Cassiopee functions are provided. Finally, some ap...
متن کاملA Multi-Code Python-Based Infrastructure for Overset CFD with Adaptive Cartesian Grids
This paper describes a computational infrastructure that supports Chimera-based interfacing of different CFD solvers a body-fitted unstructured grid solver with a blockstructured adaptive cartesian grid solver to perform time-dependent adaptive movingbody CFD calculations of external aerodynamics. The goal of this infrastructure is to facilitate the use of different solvers in different parts o...
متن کاملThe Python user interface of the elsA CFD software: a coupling framework for external steering layers
The Python–elsA user interface of the elsA cfd (Computational Fluid Dynamics) software has been developed to allow users to specify simulations with confidence, through a global context of description objects grouped inside scripts. The software main features are generated documentation, context checking and completion, and helpful error management. Further developments have used this foundatio...
متن کاملSimulation of container operations in the marshaling yard – case study: Aprin station
In this project, an attempt has been made to investigate the loading/unloading operations for container loads on a at the Aprin station with a simulation approach. Simulation is an approximate imitation of the operation of a process or system whose performance is examined over time. In this study, Aprin station was selected as the largest railway station for container transport in Iran. To find...
متن کاملLES of Partial Cavitation Around a 2D Plane-Convex Hydrofoil Large Eddy Simulation of Partial Cavitation Around a 2D Plane-Convex Hydrofoil
Investigations of attached partial cavitation are important because to prevent damages in hydrulic machinery and to reduce the costs. As expected computational fluid dynamics (CFD) methods have been developed for more than 40 years to understand this phenomenon and to improve the machinery designs, as pumps and hydraulic turbines. However, cavitation appears at high Reynolds numbers, so that, t...
متن کامل